<%-- 
    Document   : submit_assign.jsp
    Created on : 2011年9月2日, 下午04:44:00
    Author     : TerryLok2011
--%>

<%@page import="unilearn.vo.Role"%>
<%@page import="unilearn.vo.Person"%>
<%@page import="unilearn.bo.AccessValidator"%>
<%@page import="unilearn.bo.SubjectManagement"%>
<%@page import="unilearn.vo.Submission"%>
<%@page import="unilearn.vo.Assignment"%>
<%@page import="unilearn.bo.AssignmentManagement"%>
<%@page import="unilearn.dao.AssignmentDAO"%>
<%@page import="unilearn.vo.Subject"%>
<%@page import="java.util.List"%>
<%@page import="unilearn.dao.SubjectDAO"%>
<%@page import="unilearn.bo.SubmissionManagement"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            out.print("<div>");
            out.print("<form method=\"post\" enctype=\"multipart/form-data\" action=\"upload_submission.do\">");
            out.print("<input  type=\"hidden\" name=\"assignId\" value=\"" +(String)request.getParameter("assign_id") + "\" />");
            out.print("<input type=\"hidden\"  name=\"autorId\" value=\"" +(String)request.getParameter("autor_id") + "\" /></p>");
            out.print("<p>file: <input type=\"file\" name=\"assignFile\" /></p>");
            out.print("<p><input type=\"submit\" value=\"upload\" onClick=\"window.close()\" /></p>");
            out.print("</form>");
            out.print("</div>");
        %>
    </body>
</html>
